package com.lh.pospi.x_store.modle;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

import java.io.Serializable;

@Entity
public class GoodsBean implements Serializable {
    /**
     * recno : 1
     * code : 100123
     * barcode : 6904591006639
     * name : 贝因美金爱+孕妈咪配方奶粉908g
     * unit : 听
     * spec :
     * jj : 142.5
     * lsj : 228
     * pfj : 228
     * jhl : 1
     * junit : 听
     * memo :
     *   "sup": "1011",
     *             "cat": "0101",
     *             "brand": "1009",
     */
    @Id(autoincrement = true)
    private Long id;
    private String sup;
    private String cat;
    private String brand;
    private String recno;
    private String code;
    private String barcode;
    private String name;
    private String unit;
    private String spec;
    private String jj;
    private String lsj;
    private String pfj;
    private String jhl;
    private String junit;
    private String memo;
    private int num;
    private boolean select;
    public String getMemo() {
        return this.memo;
    }
    public void setMemo(String memo) {
        this.memo = memo;
    }
    public String getJunit() {
        return this.junit;
    }
    public void setJunit(String junit) {
        this.junit = junit;
    }
    public String getJhl() {
        return this.jhl;
    }
    public void setJhl(String jhl) {
        this.jhl = jhl;
    }
    public String getPfj() {
        return this.pfj;
    }
    public void setPfj(String pfj) {
        this.pfj = pfj;
    }
    public String getLsj() {
        return this.lsj;
    }
    public void setLsj(String lsj) {
        this.lsj = lsj;
    }
    public String getJj() {
        return this.jj;
    }
    public void setJj(String jj) {
        this.jj = jj;
    }
    public String getSpec() {
        return this.spec;
    }
    public void setSpec(String spec) {
        this.spec = spec;
    }
    public String getUnit() {
        return this.unit;
    }
    public void setUnit(String unit) {
        this.unit = unit;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getBarcode() {
        return this.barcode;
    }
    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }
    public String getCode() {
        return this.code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getRecno() {
        return this.recno;
    }
    public void setRecno(String recno) {
        this.recno = recno;
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    @Generated(hash = 1816470093)
    public GoodsBean(Long id, String sup, String cat, String brand, String recno,
            String code, String barcode, String name, String unit, String spec, String jj,
            String lsj, String pfj, String jhl, String junit, String memo, int num,
            boolean select) {
        this.id = id;
        this.sup = sup;
        this.cat = cat;
        this.brand = brand;
        this.recno = recno;
        this.code = code;
        this.barcode = barcode;
        this.name = name;
        this.unit = unit;
        this.spec = spec;
        this.jj = jj;
        this.lsj = lsj;
        this.pfj = pfj;
        this.jhl = jhl;
        this.junit = junit;
        this.memo = memo;
        this.num = num;
        this.select = select;
    }
    @Generated(hash = 1806305570)
    public GoodsBean() {
    }

    @Override
    public String toString() {
        return "GoodsBean{" +
                "id=" + id +
                ", recno='" + recno + '\'' +
                ", code='" + code + '\'' +
                ", barcode='" + barcode + '\'' +
                ", name='" + name + '\'' +
                ", unit='" + unit + '\'' +
                ", spec='" + spec + '\'' +
                ", jj='" + jj + '\'' +
                ", lsj='" + lsj + '\'' +
                ", pfj='" + pfj + '\'' +
                ", jhl='" + jhl + '\'' +
                ", junit='" + junit + '\'' +
                ", memo='" + memo + '\'' +
                '}';
    }
    public String getBrand() {
        return this.brand;
    }
    public void setBrand(String brand) {
        this.brand = brand;
    }
    public String getCat() {
        return this.cat;
    }
    public void setCat(String cat) {
        this.cat = cat;
    }
    public String getSup() {
        return this.sup;
    }
    public void setSup(String sup) {
        this.sup = sup;
    }
    public int getNum() {
        return this.num;
    }
    public void setNum(int num) {
        this.num = num;
    }
    public boolean getSelect() {
        return this.select;
    }
    public void setSelect(boolean select) {
        this.select = select;
    }
}
